package com.ant.domain;

import lombok.Data;

import java.io.Serializable;

/**
 * @author 党怡承
 * @version 1.0
 * @date 2021-08-04 10:00
 * @description 封装的访问信息对象
 * @copyright 2021
 */
@Data
public class AccessInfo implements Serializable {
  /** 一个计数周期内第一次访问的时间戳 */
  private long firstVisitTimeStamp;
  /** 访问次数统计 */
  private int accessCount;

  @Override
  public String toString() {
    return "AccessInfo{" +
            "firstVisitTimeStamp=" + firstVisitTimeStamp +
            ", accessCount=" + accessCount +
            '}';
  }
}
